package com.ops.uitl.config;

import com.ops.uitl.data.IData;
import com.ops.uitl.data.IDataset;

public interface IConfig{
	/**
	 * get property
	 * @param prop
	 * @return String
	 * @throws Exception
	 */
	public String getProperty(String prop) throws Exception;

	/**
	 * get properties
	 * @param prop
	 * @return IData
	 * @throws Exception
	 */
	public IData getProperties(String prop) throws Exception;

	/**
	 * set property
	 * @param prop
	 * @param value
	 * @throws Exception
	 */
	public void setProperty(String prop, String value) throws Exception;
	
	/**
	 * save
	 * @throws Exception
	 */
	public void save() throws Exception;
	
	
	/**
	 * get elements
	 * @param path
	 * @return
	 * @throws Exception
	 */
	public IDataset getElements(String path) throws Exception;
}
